|
PHY SLEEP RIGID BODY
Forces a rigid body into sleep mode.
PHY SLEEP RIGID BODY ID
ID
Integer
ID number of the rigid body
Will make the rigid body stay asleep until the next call to phy update, and will not wake up until then even when otherwise it would ( for example a force is applied to it ). It can however wake up during the next call to phy update. If you require an object to be temporarily removed from the simulation this is an ideal command to use. Simply call this command on the rigid body until you require it to return back to a normal, active state.
No example code is provided for this command
|